<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>后台管理系统</title>
	<link rel="stylesheet" href="__PUBLIC__/css/bootstrap.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/css.css" />
	<script type="text/javascript" src="__PUBLIC__/js/jquery1.9.0.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/sdmenu.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/laydate/laydate.js"></script>
	<script type="text/javascript" src="__PUBLIC__/layer/2.4/layer.js"></script>
</head>
<body>
<div class="header">
	<div class="logo"><img src="__PUBLIC__/img/logo.png" /></div>
	<div class="header-right">
         <!--
		<i class="icon-question-sign icon-white"></i>
		<a href="javascript:void(0);">帮助</a>
		-->
		<i class="icon-off icon-white"></i>
		<a id="modal-973558" href="#modal-container-973558" role="button" data-toggle="modal">注销</a>
		<i class="icon-user icon-white"></i>
		<a href="javascript:void(0);"><?php echo session('nickname'); ?></a>
		<!--
		<i class="icon-envelope icon-white"></i>
		<a href="#modal-container-9735582">修改密码</a>-->
        <!--退出弹出层-->
		<div id="modal-container-973558" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width:300px; margin-left:-150px; top:30%">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h3 id="myModalLabel">注销系统</h3>
			</div>
			<div class="modal-body">
				<p>您确定要注销退出系统吗？</p>
			</div>
			<div class="modal-footer">
				<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button> 
				<a class="btn btn-primary logout" style="line-height:20px;" href="javascript:void(0);">确定退出</a>
			</div>
		</div>
		
	</div>
</div>
<script>
$(document).ready(function(){
	$(".logout").on('click', function(){
		$.get('/xj/index/logout.html', function(data){
			window.location.href = "/xj/index.html";
		});
	})
});
</script>